package com.qd.pay.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 * @author sjk
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_wx_bills_time")
public class WxBillsTime extends Model<WxBillsTime> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "bid", type = IdType.ASSIGN_ID)
    private String bid;

    @TableField(value = "tjsj")
    private Integer tjsj;

    @TableField("singular")
    private Integer singular;

    @TableField("total_fee")
    private Double totalFee;

    @TableField("refund")
    private Double refund;

    @TableField("enterprisebonusamount")
    private Double enterprisebonusamount;

    @TableField("servicecharge")
    private Double servicecharge;

    @TableField("wxorgid")
    private String wxorgid;

    public void freeData() {
        this.tjsj = null;
        this.singular = null;
        this.totalFee = null;
        this.refund = null;
        this.enterprisebonusamount = null;
        this.servicecharge = null;
        this.wxorgid = null;
        this.bid = null;
    }

}
